package com.dinglian.ots.redis;

/**
 * 短信
 */
public class CodeKey extends BasePrefix{

	public CodeKey(int expireSeconds, String prefix) {
		super(expireSeconds, prefix);
	}

	public static CodeKey withExpire(int expireSeconds) {
		return new CodeKey(expireSeconds, "code");
	}
	
	public static CodeKey getKey = new CodeKey(EXPIRE_TIME_MINUTE*15, "code");
}
